package com.naizhuai.network;


/**
 * 网络接口的配置类
 * Created by lichenxi on 2017/5/16.
 */

public class Config {
    public static final String BASE_URL = "https://api.github.com/";
    public static final String REGION = "86";

    /*
    首页信息获取模拟
     */
    public static final String TEST_ACTION_BASE_URL = "http://service.nicedoing.cn/";
//
//    public static final String TEST_ACTION_BASE_URL = "http://inf.nicedoing.xyz/";

    public static final String TEST_ACTION_URL = "common/common/label-search";

    /*
    公司结构管理网络接口
     */
    //公司结构管理网络接口BAE_URL
    public static final String COMPANY_MANAGE_BASE_URL = "http://service.nicedoing.cn/";


    //根据个人的id以及所在公司的id请求所在团队列表数据
    public static final String REQUEST_PER_TEAMS_BY_ID = "company/group/get-user-joined-group";

    //根据团队的id以及所在公司的id请求所在团队的详细数据
    public static final String REQUEST_TEAM_BY_ID = "company/department/get-department-detail";

    //根据公司id获取公司团队的列表数据
    public static final String REQUEST_TEAMS_LIST_BY_ID = "company/department/get-department-list";

    //根据公司id获取公司团队以及没有加入团队的人员的列表数据
    public static final String REQUEST_COMPANY_MAIN_PAGER_BY_ID = "company/department/search-company-department-list";

    //根据公司的id请求公司的基本信息
    public static final String REQUEST_COMPANY_DETAILS_BY_ID = "company/company/company-info";

    //根据公司的id请求公司成员列表的基本信息
    public static final String REQUEST_COMPANY_MEMBERS_BY_ID = "company/company/get-company-user";

    //根据请求的note的id请求是否请求被审批或者查看
    public static final String REQUEST_STATES = "company/company/user-apply-result-query";

    /*
    删除
     */

    //根据公司id与团队id删除某个团队（开除/离职等等，在操作的时候需要判断操作人的权限）
    public static final String DELETE_TEAM_BY_IDS = "company/department/remove-department";

    //根据被删除人的公司id，团队id以及个人id删除在公司/团队的某人（开除/离职等等，在操作的时候需要判断操作人的权限）
    public static final String DELETE_PERSON_FROM_COMPANY_BY_IDS = "company/company/remove-member";


    /*
    修改
     */
    //将某人设为/取消某个组的组长或者管理员（在操作的时候需要判断操作人的权限）
    public static final String UPDATE_PERSON_FROM_TEAM_BY_IDS = "";

    //修改公司信息
    public static final String UPDATE_COMPANY_MESSAGE = "";

    //修改个人在部门的信息
    public static final String UPDATE_USER_DEPARTMENT_INFO = "company/department/update-department-user-info";

    //修改个人在公司的信息
    public static final String UPDATE_USER_COMPANY_INFO = "company/company/update-company-user-info";

    //修改部门信息
    public static final String UPDATE_TEAM_MESSAGE = "company/department/update-department-info";

    /*
    添加
     */

    //申请加入公司
    public static final String
            REQUEST_TO_JOIN_COMPANY = "company/company/replay-to-company";

    //邀请某人加入公司/或者团队（三种不同的要请进入公司的形式，主动邀请公司外的人需要进行审批）
    public static final String INVITE_PERSON_TO_COMPANY_OR_TEAM = "company/company/user-add";

    //创建团队
    public static final String CREATE_TEAM = "company/department/create-department";


    /*
    管理审批类别
     */
    //获取公司申请列表
    public static final String SEARCH_REQUEST_LIST = "company/company/get-apply-user-list";
    public static final String SEARCH_ALL_COMPANY_LIST = "company/company/get-company-list";
    //处理申请
    public static final String HANDLE_APPLY = "company/company/user-apply-handle";

    /*
       User用户的公共模块
     */
    //用户登陆的基地址

    public static final String LOGIN_BASEURL = "http://passport.nicedoing.cn/";

//    public static final String LOGIN_BASEURL = "http://passport.nicedoing.xyz/";

    //1 发送短信验证码
    public static final String SEND_SMS = "user/common/send-sms";
    //2 用户注册
    public static final String USER_REGISTER = "user/common/user-register";
    //3 用户登陆
    public static final String USER_LOGIN = "user/login";
    //3 用户上传图片
    public static final String USER_UPLOAD_IMG = "common/common/singer-upload-img";
    //3 用户上传图片
    public static final String Mult_IMG = "common/common/multiple-upload-img";
    //3 修改用户信息
    public static final String UPDATE_PROFILE = "user/personal/update-profile";
    //4 获取用户信息接口
    public static final String USER_INFO = "user/common/get-user-info";
    //5 修改密码
    public static final String RESET_PASSWORD = "user/personal/reset-password";
    //6 获取感谢信展示信息列表
    public static final String THANK_CARD_CONTENT = "user/personal/thanks-letter-list";
    //7 获取站内消息
    public static final String GET_APP_MESSAGE = "user/personal/get-app-message";
    //8 根据类型获取站内消息列表
    public static final String GET_APP_MESSAGE_LIST = "user/personal/get-app-message-list";


    //个人评分榜
    public static final String PERSONAL_RANKING = "user/score/personal-ranking";
    //团队评分榜
    public static final String GROUP_RANKING = "user/score/group-ranking";
    //公司设置模拟效果页面
    public static final String COMPANY_EFFECT_POINT_PAGE = "server/company/company-effect-point-page";
    //公司设置模拟效果
    public static final String COMPANY_EFFECT_POINT = "server/company/company-effect-point";

    //公共管理接口BASE_URL
//    public static final String COMPANY_COMMON_BASE_URL = "http://inf.nicedoing.xyz/";
    public static final String COMPANY_COMMON_BASE_URL = "http://service.nicedoing.cn/";
    public static final String SEARCH_USER_BY_PHONE = "server/base/search-user";

    //获取流程方法以及模板
    public static final String GETTASKFLOW = "server/task/get-task-flow-method";
    //设置任务页面
    public static final String ADDTASKPAGE = "server/task/add-task-page";
    //添加任务
    public static final String ADDTASK = "server/task/add-task";
    //获取环节负责人
    public static final String USER_LEADER = "server/task/get-task-flow-user-limit";

    //任务列表
    public static final String TASK_LIST = "server/task/task-list";
    //任务详情
    public static final String TASK_DETIAL = "server/task/task-detail";

    //添加流程页面
    public static final String ADD_TASK_FLOW_PAGE = "server/task/add-task-flow-page";

    //添加任务数据页面
    public static final String TASK_CHART_DATA_PAGE = "server/task/task-chart-data-page";

    //添加任务数据
    public static final String ADD_TASK_CHART_DATA = "server/task/add-task-chart-data";

    //添加任务流程
    public static final String ADD_TASK_FLOW = "server/task/add-task-flow";
    //获取流程细节
    public static final String ASK_FLOW_METHOD_DETAIL = "server/task/task-flow-method-detail";

    //环节负责人设置环节内容页面
    public static final String leader_set_task_flow_page = "server/task/leader-set-task-flow-page";

    //环节负责人设置环节内容
    public static final String leader_set_task_flow = "server/task/leader-set-task-flow";
    //环节参与页面
    public static final String task_flow_joined = "server/task/task-flow-joined";

    public static final String normal_question_page = "server/question/normal-question-page";

    public static final String add_normal_question = "server/question/add-normal-question";

    //接受问题
    public static final String RECEIVE_QUESTION = "server/question/receive-question";


    //标签相关模块
    public static final String sub_label_list = "labels/question/get-sub-label-list";
    //根据标签和问题搜索
    public static final String label_question_search = "server/question/recommend-scheme";


    //公共模块
    // APP首页信息
    public static final String main_page = "common/common/main-page";
    // 用户点赞的行为提交
    public static final String THUMBS_UP = "common/common/thumbs-up";
    // 获取分页面的亮点查询
    public static final String recommend_scheme = "common/common/get-recommend-scheme";
    // 启动接口
    public static final String start_up = "common/common/start-up";
    // 上报用户
    public static final String user_report = "common/jpush/user-report";

    // 获取公司新闻文章接口
    public static final String article_list = "common/article/article-list";
    // 获取公司新闻文章接口
    public static final String red_point = "common/point/red-point";

    public static final String UPLOAD_IMAGES = "common/common/multiple-upload-img";

    public static final String GET_UNIT = "server/company/company-unit-rule";
//    //获取可选人员接口
//    public static final String GET_CHOSEN_PEOPLE = "company/common/person-selected";
//    //获取可选部门接口
//    public static final String GET_CHOSEN_GROUP = "company/common/department-select";

    //获取可选负责人的接口
    public static final String GET_MANAGE_CHOSEN_PEOPLE = "server/base/manager-user-drop-down";
    //获取可选人员接口
    public static final String GET_CHOSEN_PEOPLE = "server/base/joined-user-drop-down";
    //获取可选部门接口
    public static final String GET_CHOSEN_GROUP = "server/base/joined-department-drop-down";
    //获取添加部门时候的选择人员（游离状态人员列表）
    public static final String GET_ADD_PEOPLE = "server/base/company-user-drop-down";
    //添加感谢人的接口（获取的人员信息为所有的公司内的员工信息-支持模糊搜索）
    public static final String GET_THANK_USERS = "server/base/search-user";

    //提交意见入口
    public static final String SUBMIT_SUGGESTION = "common/common/user-suggest";


    /*
      Action/行为/问题的相关接口
     */
    public static final String ACTION_BASE_URL = "http://service.nicedoing.cn/";

    //根据行为获取行为设置（图片对比设置）的相关信息（行为设置页3）
    public static final String ACTION_SETTING_COMPARE_PAGER = "server/question/summarize";

    //获取行为的主界面
    public static final String ACTION_GET_MAIN_PAGER = "server/question/question-main";

    //获取分析请求页面/过程数据的详情
    public static final String ACTION_GET_PROCESS_DETAILS = "server/question/plan-process-page";

    //分析过程设置（行动设置页2）
    public static final String ACTION_SUB_PLAN_PROCESS = "server/question/add-plan-process";

    //设定完对比图之后的预览界面的信息获取
    public static final String ACTION_GET_DETAILS_PREVIEW = "server/question/question-review";

    //提交行为的成果页面的信息接口（提交预览界面的信息）
    public static final String ACTION_SUB_RESULT = "server/question/add-summarize";

    //获取负责人评分界面的信息
    public static final String ACTION_GET_SCORE_MSG_PAGE = "server/question/verify-completed-question-page";

    //负责人提交评分以及信息状态的接口
    public static final String ACTION_POST_SCORE_MSG = "server/question/verify-completed-question";

    //添加感谢人的post接口
    public static final String ACTION_ADD_THAMKS_USER = " server/question/add-thanks-person";

    //获取感谢人的列表以及信息
    public static final String ACTION_GET_THAMKS_USER = " server/question/thanks-person-page";

    //获取行为的详情页面（亮点图）
    public static final String ACTION_GET_BRIGHT_POINT = "server/question/recommend-scheme-detail";

    //获取待审批的行为详情
    public static final String ACTION_GET_BEFORE_DETAILS = "server/question/question-review";
    //根据标签和问题搜索
    public static final String GET_LABEL_QUESTION_SEARCH = "server/question/recommend-scheme";

    /*
    目标的相关接口
     */
    public static final String TARGET_BASE_URL = "http://service.nicedoing.cn/";

    //获取目标列表
    public static final String TARGET_GET_LIST = "server/goal/goal-list";

    //获取目标详情信息
    public static final String TARGET_GET_ITEM_DETAILS = "server/goal/goal-detail";

    //获取搜索的范围的部门？人员？
    public static final String TARGET_SEARCH_USER_DETAILS = "server/goal/get-goal-user-limit-content";

    //添加目标
    public static final String TARGET_ADD_NEW = "server/goal/add-goal";

    //获取目标复盘信息界面
    public static final String TARGET_GET_REVIEW_DETAILS = "server/goal/check-complete-goal-page";

    //目标复盘上报界面
    public static final String TARGET_POST_REVIEW_MESSAGE = "server/goal/check-complete-goal";

    //获取牵头人的可选范围列表
    public static final String TARGET_GET_MANAGER_CHOSEN_FIELDS = "server/goal/get-goal-manager-user-list";


    /*
     * 个人信息业务查询入口
     */
    //个人雷达图信息
    public static final String USER_PERSONAL_RADAR_MSG = "user/score/personal-radar";
    //个人成长数据
    public static final String USER_PERSONAL_GROW_MSG = "user/score/personal-group-review";


}
